package com.ad.pet.app.shopcar;

import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.collect.BigArticle;

public class YouLikeContract {

    public interface Presenter extends BasePresenter<YouLikeContract.View> {

        void getArticleList(String classId, String page);

        void articleComment(String articleId, String text);

        void getCollectArticleList(String page);

        void collectArticle(String articleId);

        void cancelCollectArticle(String articleId);

        void zanArticle(String articleId);

        void cancelZanArticle(String articleId);
    }

    public interface View extends AbsView {
        void getArticleListSuccess(BigArticle bigArticle);

        void getCollectArticleListSuccess(BigArticle page);

        void collectArticleSuccess();

        void cancelCollectArticleSuccess();

        void zanArticletSuccess();

        void cancelZanArticleSuccess();

        void articleCommentSuccess();

    }
}
